public class InnerClassTest {
	class Contents {
		private int i = 11;
		public int value() {
			return i;
		}
	}
	class Destination {
		private String label;
		Destination(String whereTo) {
			label = whereTo;
		}
		String readLabel() {
			return label;
		}
	}
	// Using inner classes looks just like
	// using any other class, within InnerClassTest:
	public void ship(String dest) {
		Contents c = new Contents();
		Destination d = new Destination(dest);
	}
	public static void main(String[] args) {
		InnerClassTest p = new InnerClassTest();
		p.ship("Tanzania");
	}
}